package pl.minim.unidefCMS.objects {

	/**
	 * @author Marek Brun
	 */
	public class UnidefNumberScope extends UnidefNumber {
		
		public var value2:Number=0;
		
		public function UnidefNumberScope() {
			
		}
		
		override public function getTypeName():String {
			return 'NumberScope';
		}
		
		override public function getDataAsTextPreview():String {
			return value+'-'+value2;
		}
		
		override public function toXML():XML {
			var xml:XML=<i/>;
			xml.appendChild(value+'|'+value2);
			return xml;
		}
		
		override public function exportToRawData():* {
			return [value, value2];
		}
		
	}
}
